﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="DefaultPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <link href="Styles/MainStyles.css" rel="stylesheet" type="text/css" />
    <link href="Styles/DefaultPage.css" rel="stylesheet" type="text/css" />
    <script src="Scripts/SetRasporka.js" type="text/javascript"></script>
</head>
<body>
    <form id="frmDefault" runat="server">
    <asp:Table ID="tblMain" runat="server" CssClass="mainTable">
        <asp:TableRow>
            <asp:TableCell CssClass="leftColumn">
                <div id="rasporka" runat="server">
                </div>
                <input type="hidden" id="clientHeight" runat="server" />
                <asp:Panel ID="pnlUser" runat="server" CssClass="roundCorners pnlDark">
                    <asp:Label ID="lblCurUser" runat="server" Text="User: UNKNOWN"></asp:Label>
                    <asp:HyperLink ID="hlLogout" runat="server" ToolTip="Logout from current server."
                        NavigateUrl="~/Pages/Account/Login.aspx" CssClass="hlLogout">Logout</asp:HyperLink>
                </asp:Panel>
                <asp:HyperLink ID="hlDefault" runat="server" NavigateUrl="~/Default.aspx" Target="_self"
                    ToolTip="DM4 Main page.">
                    <asp:Image ID="imgDefault" runat="server" CssClass="img" AlternateText="logo" ImageUrl="~/Images/imgDefault.png" />
                </asp:HyperLink>
                <asp:Panel ID="pnlPages" runat="server">
                </asp:Panel>
                <div>
                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                    <input type="button" id="btnShowHide" value="Show/Hide" onclick="toggleVisibility('TextBox1');"
                        runat="server" />
                    <input type="button" value="Button Text" id="myButton1" onclick="replaceButtonText('myButton1', 'new button text');"
                        runat="server" /></div>
            </asp:TableCell>
            <asp:TableCell CssClass="rightColumn">
                <asp:Panel ID="pnlHeader" runat="server" CssClass="pnlHeader roundCorners pnlDark">
                    <asp:Label ID="lblCurServer" runat="server" Text="" CssClass="lblCurServer"></asp:Label>
                </asp:Panel>
                <div id="hrUsers" class="divhr" runat="server">
                </div>
                <asp:Panel ID="pnlUsers" runat="server" CssClass="pnlHeader roundCorners pnlLight">
                    <div class="divUserInfo">
                        <asp:Label ID="lblddlUsers" runat="server" Text="User:" CssClass="lblWhite"></asp:Label>&nbsp;
                        <asp:DropDownList ID="ddlUsers" runat="server" Width="194px" AutoPostBack="True">
                        </asp:DropDownList>
                        &nbsp;
                        <asp:ImageButton ID="refreshUserList" runat="server" OnClick="RefreshUserListClick"
                            ImageAlign="AbsMiddle" ImageUrl="~/Images/reload.png" AlternateText="Refresh user list."
                            ToolTip="Refresh user list." />
                        <div class="verticalbar">
                        </div>
                        <asp:Label ID="lblLogin" runat="server" Text="Login:" CssClass="lblWhite"></asp:Label><div
                            class="verticalbar">
                        </div>
                        <asp:Label ID="lblEmail" runat="server" Text="Mail:" CssClass="lblWhite"></asp:Label><div
                            class="verticalbar">
                        </div>
                        <asp:Label ID="lblAccessLevel" runat="server" Text="AccessLevel: " CssClass="lblWhite"></asp:Label>
                    </div>
                </asp:Panel>
                <div class="divhr">
                </div>
                <asp:Panel ID="pnlCommandString" runat="server" CssClass="pnlHeader roundCorners pnlLight">
                    command panel
                </asp:Panel>
                <div class="divhr">
                </div>
                <asp:Panel ID="pnlMain" runat="server" CssClass="roundCorners">
                    <asp:Panel ID="panel1" runat="server" Visible="False">
                        main panel1<br />
                        1<br />
                        1<br />
                        1<br />
                    </asp:Panel>
                    <asp:Panel ID="panel2" runat="server" type="hidden" ScrollBars="Vertical">
                       
                            <asp:GridView ID="GridView1" runat="server" HorizontalAlign="Center"
                                ViewStateMode="Enabled" HeaderStyle-Height="20px" HeaderStyle-HorizontalAlign="Center"
                                HeaderStyle-VerticalAlign="Middle" HeaderStyle-ForeColor="#333333" HeaderStyle-BackColor="#999999"
                                RowStyle-Height="15px" RowStyle-ForeColor="Black" RowStyle-BorderWidth="1px"
                                RowStyle-BorderStyle="Solid" RowStyle-BorderColor="Black" RowStyle-BackColor="#DFE2EC"
                                SelectedRowStyle-BackColor="#66FFFF" OnSelectedIndexChanged="GvSelectedIndexChanged"
                                AutoGenerateSelectButton="true" AutoGenerateColumns="True" AutoGenerateEditButton="True"
                                AutoGenerateDeleteButton="True" OnRowEditing="trr"                                
                                RowStyle-VerticalAlign="Bottom" HeaderStyle-CssClass="header"
                                Height="100px" Width="200px"
                                
        OnRowCancelingEdit="TaskGridView_RowCancelingEdit" 
        OnRowUpdating="TaskGridView_RowUpdating"
        OnPageIndexChanging="TaskGridView_PageIndexChanging"
                               >
                            </asp:GridView>
                       
                        <br />
                        2<br />
                        2<br />
                        2<br />
                    </asp:Panel>
                    <asp:Panel ID="panel2_1" runat="server" type="hidden">
                        <asp:Label ID="Label2" runat="server" Text="Label"></asp:Label>
                        main panel2_1<br />
                        3<br />
                        3<br />
                        3<br />
                    </asp:Panel>
                </asp:Panel>
                <div class="divhr">
                </div>
                <asp:Panel ID="pnlStatus" runat="server" CssClass="pnlHeader roundCorners pnlDark">
                    <asp:Label ID="Label1" runat="server" Text="Label">&nbsp;<br />&nbsp;</asp:Label>
                    <asp:Button ID="Button1" runat="server" Text="ButtonNext" OnClick="btnClick" />
                    <input type="button" value="ButtonNext_Input" id="ButtonBtn" onclick="NextButtonClick();"
                        runat="server" />
                </asp:Panel>
            </asp:TableCell>
        </asp:TableRow>
    </asp:Table>
    </form>
</body>
</html>
